package com.css.zfzx.fxpg.modules.buildings.census.service;

import com.alibaba.fastjson.JSONObject;
import com.css.bpm.platform.sys.dict.repository.entity.DictItemEntity;
import com.css.zfzx.fxpg.modules.buildings.census.viewobjects.FxHouseQueryParams;
import com.css.zfzx.fxpg.modules.buildings.data.repository.entity.FxBuildingsEntity;
import com.css.zfzx.fxpg.modules.middle.viewobjects.FxMiddleResultQueryParams;

import java.util.List;

/**
 * @author andy
 * @date 2020-11-11
 */

public interface FxCensusBuildingService {

    public JSONObject queryFxCensusHouses(FxHouseQueryParams fxHouseQueryParams, int curPage, int pageSize, String sort, String order, String userId);

    List<DictItemEntity> getValidDictItemsByDictCode(String dictCode);

    public FxBuildingsEntity getFxCensusBuildings(String id, String houseType);

    public FxBuildingsEntity updateFxCensusBuildings(FxBuildingsEntity fxBuildingsEntity);

    public void deleteFxCensusBuildings(List<String> ids, String houseType);

    public JSONObject searchFxCensusBuildings(FxHouseQueryParams queryParams, String userId);

}
